www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Labeling/MovieLeb.asp

    <html>
<head>
<META content=ywnt,云网互动影视管理系统 name=keywords>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>云网互动影视6.0--影片标签</title>
<LINK href="../css/css.css" type=text/css rel=stylesheet>
</head>
<BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0">
<%function Atext()
if Request.QueryString("text")=1 then
Atext="&text=1"
end if
end function
%>
<script language="JavaScript" src="../YWNT_TMS_Inc/YWNT_TMS_Common.js"></script>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
    <tr>
      <td colspan="5" class="xingmu">影片内容标签</td>
    </tr>
    <tr>
      <td width="20%" align="center" class="hback"><a href="#" onClick="InsertLabel('{$GetMovieName}');">影片名称</a></td>
      <td width="20%" align="center" class="hback"><a href="MovieLeb.asp?type=MoviePic<%=Atext()%>">影片图片</a></td>
      <td width="20%" align="center" class="hback"><a href="#" onClick="InsertLabel('{$GetTypeID}');">影片栏目</a></td>
      <td width="20%" align="center" class="hback"><a href="#" onClick="InsertLabel('{$GetMovieActor}');">影片演员</a></td>
      <td width="20%" align="center" class="hback"><a href="#" onClick="InsertLabel('{$GetMovieRegion}');">影片地区</a></td>
  </tr>
    <tr>
      <td align="center" class="hback"><a href="#" onClick="InsertLabel('{$GetMovieCoin}');">所需影币</a></td>
      <td align="center" class="hback"><a href="#" onClick="InsertLabel('{$GetMovieGroup}');">影片权限</a></td>
      <td align="center" class="hback"><a href="#" onClick="InsertLabel('{$GetMovieClick}');">观看次数</a></td>
      <td align="center" class="hback"><a href="#" onClick="InsertLabel('{$GetMovieDate}');">更新时间</a></td>
      <td align="center" class="hback"><a href="#" onClick="InsertLabel('{$GetMovieContent}');">影片介绍</a></td>
    </tr>
    <tr>
      <td align="center" class="hback"><a href="MovieLeb.asp?type=MovieErrors<%=Atext()%>">影片报错</a></td>
      <td align="center" class="hback"><a href="MovieLeb.asp?type=MovieCollection<%=Atext()%>">影片收藏</a></td>
      <td align="center" class="hback"><a href="MovieLeb.asp?type=MoviePromotion<%=Atext()%>">影片推广</a></td>
      <td align="center" class="hback"><a href="MovieLeb.asp?type=MovieScore<%=Atext()%>">影片评分</a></td>
      <td align="center" class="hback"><a href="MovieLeb.asp?type=MovieRelated<%=Atext()%>">相关影片</a></td>
    </tr>
    <tr>
      <td align="center" class="hback"><a href="MovieLeb.asp?type=MovieActor<%=Atext()%>">相关演员作品</a></td>
      <td align="center" class="hback"><a href="MovieLeb.asp?type=MovieComments<%=Atext()%>">影片评论</a></td>
      <td align="center" class="hback"><a href="MovieLeb.asp?type=MoviePlay<%=Atext()%>">播放列表</a></td>
      <td align="center" class="hback"><a href="MovieLeb.asp?type=MovieDown<%=Atext()%>">下载列表</a></td>
      <td align="center" class="hback">&nbsp;</td>
    </tr>
</table>
    <%
  dim str_type
  str_type = Request.QueryString("type")
  select case str_type
  		Case "MoviePic"
			Call MoviePic()
  		Case "MovieErrors"
			Call MovieErrors()
		Case "MovieCollection"
  			Call MovieCollection()
		Case "MoviePromotion"
			Call MoviePromotion()
		Case "MovieScore"
			Call MovieScore()
		Case "MovieRelated"
			Call MovieRelated()
		Case "MovieActor"
			Call MovieActor()
		Case "MovieComments"
			Call MovieComments()
		Case "SubList"
			Call SubList()
		Case "UserList"
			Call UserList()
		Case "MoviePlay"
			Call MoviePlay()
		Case "MovieDown"
			Call MovieDown()
  end select
  Sub MoviePic()%>
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
    <tr>
      <td colspan="2" class="xingmu">影片图片标签</td>
    </tr>
	<form action="" method="post" name="MoviePic">
    <tr>
      <td width="28%" height="32" align="right" class="hback">图片宽度:</td>
      <td width="72%" class="hback"><input name="picwidth" type="text" id="picwidth" value=""></td>
    </tr>
			<tr>
			  <td height="32" align="right" class="hback">图片高度:</td>
			  <td class="hback"><input name="picheight" type="text" id="picheight" value="">			  </td>
			</tr>
    <tr>
      <td colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加"></td>
    </tr>
	</form>
</table>
  <script language="JavaScript" type="text/JavaScript">
<!--
function ok(obj)
{
		var retV = '{$GetMoviePic(';
		retV+= formvalue2(obj.picwidth.value) + ',';
		retV+= formvalue2(obj.picheight.value) + ')';
		retV+='}';
		InsertLabel(retV)
}
-->
</script>
<%end sub
  Sub MovieErrors()%>
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
    <tr>
      <td colspan="2" class="xingmu">影片报错标签</td>
    </tr>
	<form action="" method="post" name="ErrorsForm">
    <tr>
      <td width="28%" height="32" class="hback" align="right">选择标签方式:</td>
      <td width="72%" class="hback"><select name="ErrorsType" id="ErrorsType" onChange="SelectLOginType(this.options[this.selectedIndex].value);">
        <option value="0">文字样式</option>
        <option value="1">按钮样式</option>
        <option value="2">图片样式</option>
      </select></td>
    </tr>
			<tr>
			  <td width="25%" height="32" class="hback" align="right">报错样式:</td>
			  <td class="hback"><input name="ErrorsStyle" type="text" id="ErrorsStyle" value="">
			  <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.ErrorsForm.ErrorsStyle.value=TempReturnValue;">
			  <span style="color:#ff0000;">可<span style="color:#ff0000;">是</span>css样式名,也可<span style="color:#ff0000;">是</span>图片</span></td>
			</tr>
    <tr>
      <td height="32" colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加"></td>
    </tr>
	</form>
</table>
  <script language="JavaScript" type="text/JavaScript">
<!--
SelectLOginType()
function SelectLOginType(STRID)
{
	if (STRID == '2')
	{
		document.ErrorsForm.Button.disabled=false;
		}
	else
	{
		document.ErrorsForm.Button.disabled=true;
		}
}
function ok(obj)
{
		var retV = '{$MovieErrors(';
		retV+= obj.ErrorsType.value + ',';
		retV+= formvalue2(obj.ErrorsStyle.value) + ')';
		retV+='}';
		InsertLabel(retV)
}
-->
</script>
<%end sub
Sub MovieCollection()%>
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
    <tr>
      <td colspan="2" class="xingmu">影片收藏标签</td>
    </tr>
	<form action="" method="post" name="CollectionForm">
    <tr>
      <td width="28%" height="32" class="hback" align="right">选择标签方式:</td>
      <td width="72%" class="hback"><select name="CollectionType" id="CollectionType" onChange="SelectLOginType(this.options[this.selectedIndex].value);">
        <option value="0">文字样式</option>
        <option value="1">按钮样式</option>
        <option value="2">图片样式</option>
      </select></td>
    </tr>
			<tr>
			  <td width="25%" height="32" class="hback" align="right">收藏样式:</td>
			  <td class="hback"><input name="CollectionStyle" type="text" id="CollectionStyle" value="">
			  <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.CollectionForm.CollectionStyle.value=TempReturnValue;">
			  <span style="color:#ff0000;">可<span style="color:#ff0000;">是</span>css样式名,也可<span style="color:#ff0000;">是</span>图片</span></td>
			</tr>
    <tr>
      <td height="32" colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加"></td>
    </tr>
	</form>
</table>
  <script language="JavaScript" type="text/JavaScript">
<!--
SelectLOginType()
function SelectLOginType(STRID)
{
	if (STRID == '2')
	{
		document.CollectionForm.Button.disabled=false;
		}
	else
	{
		document.CollectionForm.Button.disabled=true;
		}
}
function ok(obj)
{
		var retV = '{$MovieCollection(';
		retV+= obj.CollectionType.value + ',';
		retV+= formvalue2(obj.CollectionStyle.value) + ')';
		retV+='}';
		InsertLabel(retV)
}
-->
</script>
<%end sub
Sub MoviePromotion()%>
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
    <tr>
      <td colspan="2" class="xingmu">影片推广标签</td>
    </tr>
	<form action="" method="post" name="PromotionForm">
	<tr>
      <td width="28%" height="32" class="hback" align="right">显示文本框:</td>
      <td width="72%" class="hback"><select name="textshow" id="textshow">
        <option value="text">显示</option>
        <option value="hidden">不显示</option>
      </select></td>
	</tr>
    <tr>
      <td width="28%" height="32" class="hback" align="right">文本框样式:</td>
      <td width="72%" class="hback"><input type="text" name="textStyle"></td>
    </tr>
			<tr>
			  <td width="25%" height="32" class="hback" align="right">按钮样式样式:</td>
			  <td class="hback"><input name="PromotionStyle" type="text" id="PromotionStyle" value="">
			  <input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.PromotionForm.PromotionStyle.value=TempReturnValue;">
			  <span style="color:#ff0000;">可<span style="color:#ff0000;">是</span>css样式名,也可<span style="color:#ff0000;">是</span>图片</span></td>
			</tr>
    <tr>
      <td height="32" colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加"></td>
    </tr>
	</form>
</table>
  <script language="JavaScript" type="text/JavaScript">
<!--
function ok(obj)
{
		var retV = '{$PromotionForm(';
		retV+= formvalue2(obj.textshow.value) + ',';
		retV+= formvalue2(obj.textStyle.value) + ',';
		retV+= formvalue2(obj.PromotionStyle.value) + ')';
		retV+='}';
		InsertLabel(retV)
}
-->
</script>
<%end sub
Sub MovieScore()%>
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
    <tr>
      <td colspan="2" class="xingmu">影片评分标签</td>
    </tr>
	<form action="" method="post" name="ScoreForm">
    <tr>
      <td width="28%" height="32" class="hback" align="right">评分样式样式:</td>
      <td width="72%" class="hback"><select name="ScoreType" id="ScoreType" onChange="ChoosePic(this.value);">
        <option value="Style1">样式一</option>
        <option value="Style2">样式二</option>
      </select></td>
    </tr>
			<tr>
			  <td width="25%" height="32" class="hback" align="right">背景颜色:</td>
			  <td class="hback"><input name="BgColor" type="text" value="" size="15">
			  <img src="../../Editor/icons/btColor.gif" width="16" height="15" class="overBorder" onClick='p=showModalDialog("../../Editor/SelectColor.asp",window,"center:yes;dialogHeight:251px;dialogWidth:300px;help:no;status:no");if(p!=null){this.style.backgroundColor=BgColor.value=p.split("*")[0]}else{this.style.backgroundColor=""}'></td>
			</tr>
    <tr>
      <td colspan="2" align="center" class="hback" id="PreviewArea"></td>
    </tr>
    <tr>
      <td colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加"></td>
    </tr>
	</form>
</table>
  <script language="JavaScript" type="text/JavaScript">
<!--
function ok(obj)
{
		var retV = '{$MovieScore(';
		retV+= formvalue2(obj.ScoreType.value) + ',';
		retV+= formvalue2(obj.BgColor.value) + ')';
		retV+='}';
		InsertLabel(retV)
}
ChoosePic("Style1")
function ChoosePic(style_id)
{
	if(style_id=="")
		style_id=1;
	document.all.PreviewArea.innerHTML="<img src='Style/Score"+style_id+".gif' />"
}
-->
</script>
<%end sub
Sub MovieRelated()%>
<table class=table cellspacing=1 cellpadding=3 width="98%" align=center border=0>
  <tbody>
    <tr>
      <td colspan="4" class=xingmu>相关影片标签</td>
    </tr>
  <form method="post" name="typelebForm">
    <tr>
      <td width="19%" height=32 align="right" class="hback">栏目样式:</td>
      <td height=32 colspan="2" class="hback"><select name="Style" onChange="ChoosePic(this.value);ChooseDate(this.value);" style="width: 150px;">
        <option value="1">样式一</option>
        <option value="2">样式二</option>
        <option value="3">样式三</option>
        <option value="4">样式四</option>
      </select></td>
      <td width="44%" rowspan="5" class="hback" id="PreviewArea">&nbsp;</td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">排序方式:</td>
      <td height=32 colspan="2" class="hback"><select name="Sorting" style="width: 150px;">
        <option value="1">影片ID(降序)</option>
        <option value="2">影片ID(升序)</option>
        <option value="3">影片更新时间(降序)</option>
        <option value="4">影片更新时间(升序)</option>
	<option value="5">点播次数(降序)</option>
        <option value="6">点播次数(升序)</option>
      </select></td>
    </tr>
	 <tr>
      <td height=32 align="right" class="hback">影片数量:</td>
      <td height=32 colspan="2" class="hback"><input name="Volume" type="text" value="4"></td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">并排数量:</td>
      <td height=34 colspan="2" class="hback"><input name="TdVolume" type="text" value="1"></td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">新开窗口:</td>
      <td height=32 colspan="2" class="hback"><select name="OpenStyle" style="width: 150px;">
        <option value="1">是新窗口打开</option>
        <option value="2">否原窗口打开</option>
      </select></td>
    </tr>
	  <TR>
    <TD height=32 align="right" class="hback">图片大小:</TD>
    <TD colspan="3" class="hback">宽度:
      <input name="picwidth" type="text" value="90" size="5">
      高度:
      <input name="picheight" type="text" value="120" size="5"></TD>
	  </TR>
    <tr>
      <td height=32 align="right" class="hback">显示内容:</td>
      <td height=15 colspan="3" class="hback"><input name="ShowTitle" type="checkbox" value="1" checked>
        影片名称
          <input type="checkbox" name="ShowActor" value="1">
          影片主演
          <input type="checkbox" name="Showtype" value="1">
          所属栏目
          <input type="checkbox" name="ShowRegion" value="1">
      出产地区
      <br><input type="checkbox" name="ShowClick" value="1">
      点播次数
      <input type="checkbox" name="ShowCoin" value="1">
      需要影币
      <input type="checkbox" name="ShowDate" value="1">
      更新时间
      <input type="checkbox" name="ShowContent" value="1">
影片介绍</td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">影片名称字数:</td>
      <td height=16 class="hback"><input type="text" name="TitleVolume"></td>
      <td height=16 align="right" class="hback">名称链接CSS:</td>
      <td height=16 class="hback"><input type="text" name="TitleStyle"></td>
    </tr>
    <tr>
      <td height=32 align="right" class="hback">演员数量:</td>
      <td height=32 class="hback"><input name="ActorVolume" type="text" value="1"></td>
      <td height=32 align="right" class="hback">介绍字数:</td>
      <td height=32 class="hback"><input name="ContentVolume" type="text" value="15"></td>
    </tr>
	 <tr>
      <td height=32 align="right" class="hback">背景颜色:</td>
      <td width="21%" height=-2 class="hback"><input name="BgColor" type="text" value="" size="15">
      <img src="../../Editor/icons/btColor.gif" width="16" height="15" class="overBorder" onClick='p=showModalDialog("../../Editor/SelectColor.asp",window,"center:yes;dialogHeight:251px;dialogWidth:300px;help:no;status:no");if(p!=null){this.style.backgroundColor=BgColor.value=p.split("*")[0]}else{this.style.backgroundColor=""}'></td>
	  <td width="16%" align="right" class="hback">边框颜色:</td>
	  <td height=15 class="hback"><input name="BorderColor" type="text" value="" size="15">
	  <img src="../../Editor/icons/btColor.gif" width="16" height="15" class="overBorder" onClick='p=showModalDialog("../../Editor/SelectColor.asp",window,"center:yes;dialogHeight:251px;dialogWidth:300px;help:no;status:no");if(p!=null){this.style.backgroundColor=BorderColor.value=p.split("*")[0]}else{this.style.backgroundColor=""}'></td>
	 </tr>
	 <tr>
	   <td height=32 align="right" class="hback">背景图案:</td>
	   <td height=16 colspan="3" class="hback"><input name="BgPic" id="BgPic" size=45 maxlength="200"> 
	<input type="button" name="Button" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.typelebForm.BgPic.value=TempReturnValue;" class=Anbutc></td>
    </tr>
    <tr>
      <td height=32 colspan="4" align="center" class="hback"><input type="button" onClick="ok(this.form)" name="Submit" value="添加"></td>
    </tr>
  </form>
  </tbody>
</table>
<script language="JavaScript">
	function ok(obj)
	{
		var retV = '{$MovieRelated(';
		retV+= obj.Style.value + ',';
		retV+= obj.Volume.value + ',';
		retV+= obj.TdVolume.value + ',';
		retV+= formvalue(obj.picwidth.value) + ',';
		retV+= formvalue(obj.picheight.value) + ',';
		retV+= show(obj.ShowTitle) + ',';
		retV+= formvalue(obj.TitleVolume.value) + ',';
		retV+= formvalue2(obj.TitleStyle.value) + ',';
		retV+= show(obj.ShowActor) + ',';
		retV+= formvalue(obj.ActorVolume.value) + ',';
		retV+= show(obj.Showtype) + ',';
		retV+= show(obj.ShowRegion) + ',';
		retV+= show(obj.ShowClick) + ',';
		retV+= show(obj.ShowCoin) + ',';
		retV+= show(obj.ShowDate) + ',';
		retV+= show(obj.ShowContent) + ',';
		retV+= obj.ContentVolume.value + ',';
		retV+= obj.Sorting.value + ',';
		retV+= obj.OpenStyle.value + ',';
		retV+= formvalue2(obj.BgColor.value) + ',';
		retV+= formvalue2(obj.BgPic.value) + ',';
		retV+= formvalue2(obj.BorderColor.value) + ')';
		retV+='}';
		InsertLabel(retV)
	}
ChoosePic("1")
function ChoosePic(style_id)
{
	if(style_id=="")
		style_id=1;
	document.all.PreviewArea.innerHTML="<img src='Style/Style"+style_id+".gif' />"
}
function ChooseDate(DateStr)
{ 
	if (DateStr==4)
	{
		document.typelebForm.picwidth.disabled=true;
		document.typelebForm.picheight.disabled=true;
	}
	else
	{
		document.typelebForm.picwidth.disabled=false;
		document.typelebForm.picheight.disabled=false;
	}
}
</script>
<%end sub
Sub MovieActor()%>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
  <tr>
    <td colspan="2" class="xingmu">相关演员标签</td>
  </tr>
  <form action="" method="post" name="ActorForm">
    <tr>
      <td width="28%" height="32" class="hback" align="right">演员连接CSS样式:</td>
      <td width="72%" class="hback"><input type="text" name="ActorStyle"></td>
    </tr>
	 <tr>
      <td width="28%" height="32" align="right" class="hback">新开窗口:</td>
      <td class="hback"><select name="OpenStyle" style="width: 150px;">
        <option value="1">是新窗口打开</option>
        <option value="2">否原窗口打开</option>
      </select></td>
    </tr>
    <tr>
      <td height="32" colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加"></td>
    </tr>
  </form>
</table>
  <script language="JavaScript" type="text/JavaScript">
<!--
function ok(obj)
{
		var retV = '{$MovieActor(';
		retV+= formvalue2(obj.ActorStyle.value) + ',';
		retV+= obj.OpenStyle.value + ')';
		retV+='}';
		InsertLabel(retV)
}
-->
</script>
<%end sub
Sub MovieComments()%>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
  <tr>
    <td colspan="2" class="xingmu">影片评论标签</td>
  </tr>
  <form action="" method="post" name="CommentsForm">
    <tr>
      <td width="28%" height="32" class="hback" align="right">显示评论数量:</td>
      <td width="72%" class="hback"><input type="text" name="CommentsVolume"></td>
    </tr>
    <tr>
      <td height="32" colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加"></td>
    </tr>
  </form>
</table>
<script language="JavaScript" type="text/JavaScript">
<!--
function ok(obj)
{
		var retV = '{$MovieComments(';
		retV+= formvalue(obj.CommentsVolume.value) + ')';
		retV+='}';
		InsertLabel(retV)
}
-->
</script>
<%end sub
sub MoviePlay()%>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
  <tr>
    <td colspan="2" class="xingmu">影片播放列表标签</td>
  </tr>
  <form action="" method="post" name="PlayForm">
    <tr>
      <td width="28%" height="32" class="hback" align="right">选择标签方式:</td>
      <td width="72%" class="hback"><select name="PlayStyle" id="PlayStyle" onChange="SelectLOginType(this.options[this.selectedIndex].value);">
          <option value="0">文字样式</option>
          <option value="1">图片样式</option>
      </select></td>
    </tr>
    <tr>
      <td width="25%" height="32" class="hback" align="right">显示播放线路:</td>
      <td class="hback">
  <select name="PlayType" id="PlayType">
    <option value="1">电信线路</option>
    <option value="2">网通线路</option>
	<option value="3">铁通线路</option>
	<option value="4">p2p线路</option>
  </select></td>
    </tr>    <tr>
      <td width="25%" height="32" class="hback" align="right">上集播放按钮样式:</td>
      <td class="hback"><input name="Play1Style" type="text" id="Play1Style" value="">
          <input type="button" name="Button1" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.PlayForm.Play1Style.value=TempReturnValue;">
          <span style="color:#ff0000;">可是css样式名,也可<span style="color:#ff0000;">是</span>图片</span></td>
    </tr>
    <tr>
      <td width="25%" height="32" class="hback" align="right">中集播放按钮样式:</td>
      <td class="hback"><input name="Play2Style" type="text" id="Play2Style" value="">
          <input type="button" name="Button2" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.PlayForm.Play2Style.value=TempReturnValue;">
          <span style="color:#ff0000;">可<span style="color:#ff0000;">是</span>css样式名,也可<span style="color:#ff0000;">是</span>图片</span></td>
    </tr>
	    <tr>
      <td width="25%" height="32" class="hback" align="right">下集播放按钮样式:</td>
      <td class="hback"><input name="Play3Style" type="text" id="Play3Style" value="">
          <input type="button" name="Button3" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.PlayForm.Play3Style.value=TempReturnValue;">
          <span style="color:#ff0000;">可<span style="color:#ff0000;">是</span>css样式名,也可<span style="color:#ff0000;">是</span>图片</span></td>
    </tr>
    <tr>
      <td height="32" colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加"></td>
    </tr>
  </form>
</table>
  <script language="JavaScript" type="text/JavaScript">
<!--
SelectLOginType()
function SelectLOginType(STRID)
{
	if (STRID == '1')
	{
		document.PlayForm.Button1.disabled=false;
		document.PlayForm.Button2.disabled=false;
		document.PlayForm.Button3.disabled=false;

		}
	else
	{
		document.PlayForm.Button1.disabled=true;
		document.PlayForm.Button2.disabled=true;
		document.PlayForm.Button3.disabled=true;
		}
}
function ok(obj)
{
		var retV = '{$MoviePlay(';
		retV+= obj.PlayStyle.value + ',';
		retV+= obj.PlayType.value + ',';
		retV+= formvalue2(obj.Play1Style.value) + ',';
		retV+= formvalue2(obj.Play2Style.value) + ',';
		retV+= formvalue2(obj.Play3Style.value) + ')';
		retV+='}';
		InsertLabel(retV)
}
-->
</script>
 <%end sub
 sub MovieDown()%>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
  <tr>
    <td colspan="2" class="xingmu">影片下载标签</td>
  </tr>
  <form action="" method="post" name="DownForm">
    <tr>
      <td width="28%" height="32" class="hback" align="right">选择标签方式:</td>
      <td width="72%" class="hback"><select name="DownType" id="DownType" onChange="SelectLOginType(this.options[this.selectedIndex].value);">
          <option value="0">文字样式</option>
          <option value="1">图片样式</option>
      </select></td>
    </tr>
	    <tr>
      <td width="28%" height="32" class="hback" align="right">下载按钮样式:</td>
      <td class="hback"><input name="DownStyle" type="text" id="DownStyle" value="">
          <input type="button" name="Button1" value="选择图片" onClick="var TempReturnValue=OpenWindow('../Dialog/SelectPic.asp?CurrPath=<% = CurrPath %>',500,290,window);if (TempReturnValue!='') document.DownForm.DownStyle.value=TempReturnValue;">
          <span style="color:#ff0000;">可<span style="color:#ff0000;">是</span>css样式名,也可<span style="color:#ff0000;">是</span>图片</span></td>
    </tr>
    <tr>
      <td height="32" colspan="2" align="center" class="hback"><input name="button" type="button" onClick="ok(this.form);" value="添加"></td>
    </tr>
  </form>
</table>
  <script language="JavaScript" type="text/JavaScript">
<!--
SelectLOginType()
function SelectLOginType(STRID)
{
	if (STRID == '1')
	{
		document.DownForm.Button1.disabled=false;

		}
	else
	{
		document.DownForm.Button1.disabled=true;
		}
}
function ok(obj)
{
		var retV = '{$MovieDown(';
		retV+= obj.DownType.value + ',';
		retV+= formvalue2(obj.DownStyle.value) + ')';
		retV+='}';
		InsertLabel(retV)
}
-->
</script>
 <%end sub%>
<script language="JavaScript" type="text/JavaScript">
<!--
function show(namechecked)
{
    if(namechecked.checked==true)
	{
	namechecked=namechecked.value;
	}
	else
	{
	namechecked='""';
	}
	return namechecked;
}
function formvalue2(namevalue2)
{
	if(namevalue2=="")
	{
		namevalue2='""';
	}
	else
	{
	namevalue2='"'+namevalue2+'"'
	}
		return namevalue2;
}
function formvalue(namevalue)
{
	if(namevalue=="")
		namevalue='""';
		return namevalue;
}
<%if Request.QueryString("text")=1 then%>
function InsertLabel(LabelContent)
{
	window.returnValue=LabelContent;
	window.close();
}
window.onunload=SetReturnValue;
function SetReturnValue()
{
	if (typeof(window.returnValue)!='string') window.returnValue='';
}
<%else%>
function InsertLabel(LabelContent)
{
	var obj=dialogArguments.oUtil.obj;
	obj.insertHTML(LabelContent)
	window.close();
}
<%end if%>
-->
</script>